﻿/*这是百科右侧导航代码的样式表*/
.directory-nav {
    position: fixed;
    right: 100px;
    top: 16%;
    padding: 12px 0 20px 15px;
    max-height: 75vh;
    overflow: auto;
    display: none;
    z-index: 2;
}
@media only screen and (max-width: 959px) {
    .directory-nav {
        display: none !important;
    }
}
@media only screen and (min-width: 960px) {
    .directory-nav {
        right: 0px;
        max-width: 150px;
    }
}
@media only screen and (min-width: 1200px) {
    .directory-nav {
        right: 20px;
        max-width: 200px;
    }
}
@media only screen and (min-width: 1360px) {
    .directory-nav {
        right: 50px;
        max-width: 250px;
    }
}
@media only screen and (min-width: 1900px) {
    .directory-nav {
        max-width: 320px;
    }
}
    .directory-nav li {
        height: 34px;
        line-height: 34px;
        position: relative;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .directory-nav .l2 { text-indent: 0.6em; }

    .directory-nav .l1 a { font-size: 16px; }

    .directory-nav .l2 a { font-size: 14px; }

    .directory-nav, .directory-nav a { color: #666; }

    .directory-nav .cur a { color: red; }

    .directory-nav .line {
        position: absolute;
        left: 4px;
        top: 5px;
        bottom: 5px;
        z-index: 1;
        width: 2px;
        background: #ddd;
    }

    .directory-nav .c-top, .directory-nav .c-bottom {
        position: absolute;
        left: 0;
        z-index: 2;
        display: block;
        width: 10px;
        height: 10px;
        font-size: 0;
        line-height: 0;
        background: url(/images/directory-nav.png) no-repeat 0 -69px;
    }

    .directory-nav .c-dot {
        position: absolute;
        left: -32px;
        top: 50%;
        z-index: 2;
        margin-top: -5px;
        display: block;
        width: 10px;
        height: 10px;
        font-size: 0;
        line-height: 0;
        background: url(/images/directory-nav.png) no-repeat -275px 0;
    }

    .directory-nav .c-top { top: 0 }

    .directory-nav .c-bottom { bottom: 0 }

    .directory-nav .cur-tag {
        position: absolute;
        left: -1px;
        top: 30px;
        z-index: 5;
        margin-top: -6px;
        display: block;
        width: 19px;
        height: 13px;
        font-size: 0;
        line-height: 0;
        background: url(/images/directory-nav.png) no-repeat -271px -37px;
        -webkit-transition: top .3s ease 0s;
        transition: top .3s ease 0s;
    }